package ssm.com.mapper;

import ssm.com.pojo.Door;

import java.util.List;


//持久层接口
public interface DoorMapper {
    //添加门店信息
    int addDoor(Door door);
    //查询所有门店信息
    List<Door> findAllDoorInfo();
    //根据id删除门店信息
    int deleteDoorById(Integer id);

    //根据id查询门店信息
    //Door findDoorById(Integer id);
    //根据id修改门店信息
    Door findDoorByIdUpdate(Integer id);
    int toUpdateDoor(Door door);

}
